package com.zhengqing.design.structure.facade._01;

/**
 * <p> 外观类 </p>
 *
 * @author zhengqingya
 * @description 降低访问复杂系统的内部子系统时的复杂度，简化客户端之间的接口。
 * @date 2022/12/21 11:46
 */
public class Facade {
    private System1 system1 = new System1();
    private System2 system2 = new System2();

    public void handle1() {
        this.system1.handle();
    }

    public void handle2() {
        this.system2.handle();
    }
}
